package com.t2t.top;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

/**
 * Says "Hi" to the user.
 *
 * @goal sayhi
 */
public class GreetingMojo extends AbstractMojo {
    /**
     * @parameter expression="${sayhi.words}" default-value="Hello World!"
     */
    private String words;

    public void execute() throws MojoExecutionException {
        getLog().info(words);
    }
}
    